//package com.jt.service;
//
//
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import javax.annotation.Resource;
//
///*消息发送者*/
//@Service
//public class MessageSender {
//    @Resource
//    private RabbitTemplate rabbitTemplate;
//
//    public void testJianDan(String message) {
//        rabbitTemplate.convertAndSend("simple.hello", message);
//    }
//}
